package exception;

import org.omg.CORBA.PUBLIC_MEMBER;

import java.awt.*;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLDataException;
import java.sql.SQLException;

public class ThrowsDemo {
    public void dosome()throws IOException, AWTException{}
}

class SubClass extends ThrowsDemo{
    //public void dosome()throws IOException, AWTException{}

    //public void dosome(){}

    //public void dosome()throws IOException{}

    //public void dosome()throws AWTException{}

    //public void dosome() throws FileNotFoundException {}

    //public void dosomem()throws SQLException {}

    //public void dosome()throws Exception{}
}
